﻿using Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IRealize
{
    public  interface IDDGLD{

    public Task<PagedResult<Human_File>> CXHumanFiles(
     string sqlserver,
    string firstKindName,
    string secondKindName,
    string thirdKindName,
    DateTime? startDate,
    DateTime? endDate,
    int pageNumber = 1,
    int pageSize = 1);




        public Task<Human_File_Dig?> SelectHFDIDAsync(int hfd_id, string sqlserver);




        public Task<List<Human_File_Dig>> XCXLK(string sqlserver);


        public Task<int> AddHFDJ(Human_File human_File, string sqlserver);


        public Task<int> AddMCTJ(Major_Change major_Change, string sqlserver);


        public Task<Major_Change?> SelectHuFiAsync(int mch_id, string sqlserver);



        public Task<int> UpdateMCTG(Major_Change major_Change, string sqlserver);



        public Task<int> UpdateMCBTG(Major_Change major_Change, string sqlserver);


        public Task<PagedResult<Major_Change>> CXMajor_name(
         string sqlserver,
        string firstKindName,
        string secondKindName,
        string thirdKindName,
        string jobCategoryName,
        string jobName,
        DateTime? startDate,
        DateTime? endDate,
        int pageNumber = 1,
        int pageSize = 1);
        



    }
}
